
int main () {
    int i,j;
    int * a;

    a = malloc(100 * sizeof(int));

    #pragma acc kernels loop copyout(a[100]) async
        for (i = 0; i < 100; i++)
            a[i] = i;

    #pragma acc wait
    
    printf("** a[0] %d \n", a[i]);
}
